<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375,user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>预收款-新增</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/breedsales/saleorders/addsaleorders.css">

    <script id="payment-template" type="text/x-template">
        {{~ it :value:index}}
        <div class="report-contents-item-box" style="padding:15px">
            <div class="weui-flex marbot">
                <div>
                    <div class="placeholder" style="font-weight:800">组织：{{=value.orgName}}</div>
                </div>
            </div>
            <div class="weui-flex marbot">
                <div>
                    <div class="placeholder" style="font-weight:800">客户：{{=value.custName}}({{=value.custNumCode}})</div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">销售员：{{=value.salePerName}}({{=value.salePerNumCode}})</div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">总头数(头)：<span style="color:#ee6808">{{=Utils.toThousands(value.totalCount,0)}}</span></div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">总价(元)：<span style="color:#ee6808">{{=Utils.toThousands(value.totalPrice)}}</span></div>
                </div>
            </div>
            <div class="weui-flex marbot" style="font-size: 14px;">
                <div class="weui-flex__item">
                    <div class="placeholder" style="color:#4d4d4d">业务日期：{{=moment(value.bizDate).format('YYYY-MM-DD')}}</div>
                </div>
            </div>
        </div>
        {{~}}
    </script>
</head>

<body>
    <div id="main-addsaleorders">
        <form id="paymentorders-form">
            <div class="weui-cells__group weui-cells__group_form">
                <p class="saleOrders-entry-message">基本信息</p>
                <div id="paymentorders">

                </div>
                <p class="saleOrders-entry-message">预收款信息</p>
                <div class="report-contents-item-box">
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label" style="max-width: 150px;">预收款金额(元)<span class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="predictAmount" min="0" placeholder="请输入预收款金额...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label" style="min-width: 110px;">结算收款金额(元)</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="settlementPayment" min="0" placeholder="请输入结算收款金额...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">备注</label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="payreamrk" placeholder="请输入备注...">
                        </div>
                    </div>
                </div>
            </div>
            <div class="report-contents-item-box">
                <div class="weui-cells-border weui-cells_form" id="uploader">
                    <div class="weui-cell">
                        <div class="weui-cell__bd">
                            <div class="weui-uploader">
                                <div class="weui-uploader__hd" style="text-align: left;">
                                    <p class="weui-uploader__title">附件</p>
                                    <div class="weui-uploader__info"><span id="uploadCount">{{uploadCount}}</span>/3</div>
                                </div>
                                <div class="weui-uploader__bd">
                                    <ul class="weui-uploader__files" id="uploaderFiles"></ul>
                                    <div class="weui-uploader__input-box">
                                        <input id="uploaderInput" class="weui-uploader__input" type="file" accept="image/*" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_default"
                       style="width: 38%;border-radius:8px;background-color: #fff;margin-left: 0px;"
                       id="returnMain">取消</a>
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                       style="width: 60%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="informationSubmit"
                       v-on:click="submit">提交</a>
                </div>
            </div>
        </form>
    </div>

    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/form-entries/form-entries.js"></script>

    <script type="module" src="../../../../public/js/features/breedsales/saleorders/paymentorders.js"></script>
</body>

</html>